package com;

public class Test {

	public static void main(String[] args) {
		String amount = "20000.0";
		String[] amounts = amount.split("\\.");
		System.out.println(amounts[0]);
	}

}
